import psycopg2
import os

def get_db_connection():
    return psycopg2.connect(
        dbname=os.getenv('BIRTH_DB_NAME', 'birthday_surprise'),
        user=os.getenv('BIRTH_DB_USER', 'george'),
        password=os.getenv('BIRTH_DB_PASSWORD', 'W5d0BYi4'),
        host=os.getenv('BIRTH_DB_HOST', 'localhost'),
        port=os.getenv('BIRTH_DB_PORT', '5432')
    )